package com.android.aishangauction.model.detail;

import com.google.gson.Gson;
import com.zhy.http.okhttp.callback.Callback;

import okhttp3.Response;

/**
 * Created by Administrator on 2017/7/11.
 */

public abstract class paydonetoshareCallback extends Callback<paydonetoshare> {

    @Override
    public paydonetoshare parseNetworkResponse(Response response, int id) throws Exception {

        String string = response.body().string();
        paydonetoshare data = new Gson().fromJson(string, paydonetoshare.class);
        return data;
    }
}
